package com.cheng.spring01.service.impl;

import com.cheng.spring01.dao.UserDao;
import com.cheng.spring01.entity.User;
import com.cheng.spring01.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getAllUserByUsername() {
        userDao.queryAllUser();
    }
}
